import {store} from '@/store/index'
import {Session} from '@/utils/storage'
import { setAddRoute,  setFilterMenuAndCacheTagsViewRoutes} from './index'
export async function initFrontEndControlRoutes() {
    if(!Session.get('token')) return false
    // store.dispatch('userInfos/setUserInfos')
    await setAddRoute();
    setFilterMenuAndCacheTagsViewRoutes()
}